import type { Result } from "@/config/data/data";
import { uploadFile } from "./request";

/**
 * 上传图片
 * @param data 图片文件数组 
 * @returns 图片路径
 */
export const ReqUploadImage = (data:string):Promise<Result<string[]>> => uploadFile("/upload/img",data)